﻿namespace CKFinder.Connector
{
    using System;

    internal class ConnectorException : Exception
    {
        private int _Number;

        public ConnectorException(int number)
        {
            this._Number = number;
        }

        public static void Throw(int errorNumber)
        {
            throw new ConnectorException(errorNumber);
        }

        public int Number
        {
            get
            {
                return this._Number;
            }
        }
    }
}

